//路由
var express = require('express');
var router = express.Router();
var dataCtrl=require('../controllers/user.controller');
router.post('/data',dataCtrl.create);
router.put('/data/:id',dataCtrl,update);

module.exports = router   ;
